<template>
  <div class="recommend">
    <div class="rec-item" v-for="rec in recommends">
      <a :href="rec.link">
        <img :src="rec.image">
        <div>{{rec.title}}</div>
      </a>
    </div>

  </div>
</template>

<script>
export default {
  name: "RecView",
  props: {
    recommends:{
      type:Array,
      default(){
        return []
      }
    }
  }
}
</script>

<style scoped>
  .recommend{
    display: flex;
    font-size: 12px;
    width: 100%;
    text-align: center;
    padding: 15px 0px 25px;
    border-bottom: 5px solid #eee;
  }
  .rec-item{
    flex: 1;

  }
  .rec-item img{
    width: 65px;
    height: 65px;
    margin-bottom: 5px;
    border-radius: 100%;
  }
</style>
